package com.wn.dao;

import com.wn.bean.Owner;

import java.sql.SQLException;
import java.util.List;

/**
 * @author yellow Docter
 * @date 2024 -06-19
 * @desc
 */
public interface OwnerDao {

    int insertOwner(Owner owner) throws SQLException;

    List<Owner> list();

    int deleteOwnerById(int id);

    int updateOwner(Owner owner);

    int deleteOwnerByIds(String[] ids);

    int count();

    List<Owner> page(int start, int pageSize);
}
